/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.library.forms;

public class Book extends Publication{
   private String isbn;
   private String author;
   //private int copyNumber;
   
   public Book(String title,String isbn,String author, String date, String pubCompany, int copyNumber)
   {
   super(title,date,pubCompany,copyNumber,author);
   this.isbn=isbn;
   this.author=author;
   //this.copyNumber=copyNumber;
     }  
    public String getIsbn() {
        return isbn;
    }
    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }    
    public void print()
    {
        System.out.println("Book ISBN"+this.isbn
                +"Author"+this.author);     
    }
}
